home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 4 / Light ROM 4 - Disc 1.iso / text / maillist / 1996 / 010896.doc / text0225.txt < prev    next >
Encoding:
Text File  |  1996-02-04  |  2.1 KB  |  53 lines

  1.  
  2.  
  3. On Fri, 12 Jan 1996, Eric Gooch wrote:
  4.  
  5. > Ever wanted to have an invisible object throw a shadow? Object dissolve 
  6. > doesn't work...if you dissolve the object completely, it stops throwing a 
  7. > shadow. You can try flipping the polygons so they're invisible to the 
  8. > camera, but still throwing shadows, but this only works at certain angles 
  9. > in specific situations. I stumbled onto a strange technique for this 
  10. > recently...Distance dissolve.
  11. > Take a flat plane (ground object) and a sphere (shadow throwing object).
  12. > Place the sphere over the ground, and turn on Distance dissolve for the 
  13. > sphere, with a maximum distance of say, .01. Now the sphere will always be 
  14. > invisible, but it still casts a shadow, whether you're using ray-traced or 
  15. > shadow-mapped lights. Weird, huh?
  16. > For even more fun, turn on polygon edges to bright green. Now you have a 
  17. > bright green wireframe object that casts a solid shadow. (I'll have to 
  18. > admit I can't think of a use for that last bit, but maybe you can.   8)
  19. > -Eric G.
  20.     [ ERIC...
  21.  
  22.          Haven't needed to do that but those are great tips to file.  Thanks.
  23.          
  24.         Just thought I'd add, for new LW users, that if you have a solid 
  25. object, as opposed to an animating character, and you want to save 
  26. rendering time....AND your ground plane is flat, you can fake it.  For a 
  27. sphere, simply make a disk and set it at .0001 above ground plane.  Give 
  28. it appropriate transparency, etc.  I did this in one of my first tests 
  29. with an orange bouncing along a counter top.  I also used the stretch 
  30. requestor to have my "shadow" get larger and smaller as the ball was 
  31. closer or farther away from the ground plane.
  32.  
  33. Remeber to set you object to a null for linear travel, parent shadow to null.
  34. For a ship or ther such object that doesn't roll or change shape, you 
  35. could make a specific poly that resembles the contour at the particular 
  36. angle the shadow is cast at.
  37.  
  38. Don't forget to move your shadow ahead, behind, or directly under object, 
  39. depending on what direction your light is travelling. ( you wouldn't want 
  40. to ave the scene backlit, with shadow travelling backwards.) ]
  41.  
  42.  
  43. RICK CATIZONE/ANIVISION
  44.   
  45.  
  46.